package com.ylstm.mapper;

import com.ylstm.pojo.Customer;

import java.util.List;

/**
 * @ClassName CustomerMapper.xml
 * @Description TODO
 * @date 2022/8/3 10:12
 * @Version 1.0
 */
public interface CustomerMapper {
    /*查询所有会员*/
    List<Customer> selectAllVip ();

    /*删除会员*/
    int deleteVip(Integer id);

    /*查询单个会员*/
    Customer selectOneVip(Integer id);

    /*增加会员信息*/
    int insertVip(Customer customer);

    /*修改会员信息*/
    int updateVip(Customer customer);

    /*模糊查询会员信息*/
    List<Customer> searchVip (String code);
}
